package com.yyf.springboot2.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */
@TableName("t_moneyyj")
@EntityScan
@Data
public class TMoneyyj implements Serializable {

    private static final long serialVersionUID = 1L;
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Double balance;
	@TableField("moneyMy")
	private Double moneyMy;
	@TableField("netId")
	private Integer netId;
	private Integer sz;
	private Date time = new Date();
	private Integer type;
	@TableField("userId")
	private Integer userId;
	private Double min = 0.0;
	private String word = "";


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getBalance() {
		return balance;
	}

	public void setBalance(Double balance) {
		this.balance = balance;
	}

	public Double getMoneyMy() {
		return moneyMy;
	}

	public void setMoneyMy(Double moneyMy) {
		this.moneyMy = moneyMy;
	}

	public Integer getNetId() {
		return netId;
	}

	public void setNetId(Integer netId) {
		this.netId = netId;
	}

	public Integer getSz() {
		return sz;
	}

	public void setSz(Integer sz) {
		this.sz = sz;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Double getMin() {
		return min;
	}

	public void setMin(Double min) {
		this.min = min;
	}

	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public TMoneyyj(Double balance, Double moneyMy, Integer netId, Integer sz, Date time, Integer type, Integer userId, Double min, String word) {
		this.balance = balance;
		this.moneyMy = moneyMy;
		this.netId = netId;
		this.sz = sz;
		this.time = time;
		this.type = type;
		this.userId = userId;
		this.min = min;
		this.word = word;
	}

	public TMoneyyj() {
	}
}
